var questionAction = require('./question/question.action'),
	examTypeAction = require('./exam/examType.action');

module.exports = function(app){

	app.get('/api/questions',questionAction.queryQuestions);
	app.get('/api/queryPageQuestions',questionAction.queryPageQuestions);
	app.post('/api/addQuestion',questionAction.addQuestions);


	//exam
	//试题的类型管理
	app.get('/api/queryExamType',examTypeAction.queryExamType);
	app.post('/api/addExamType',examTypeAction.addExamType);
};